package com.yst.gateway.monitor.dao;

import com.yst.gateway.monitor.models.SysRoles;
import java.util.List;
import java.util.Map;

public interface SysRolesMapper {
    int deleteByPrimaryKey(String sysRoleId);

    int insert(SysRoles record);

    SysRoles selectByPrimaryKey(String sysRoleId);

    List<SysRoles> selectAll(Map<String ,Object> param);

    int updateByPrimaryKey(SysRoles record);
    
    List<SysRoles> selectByName(String name);
}